{% extends 'system_template/public/base_main.html' %}
{% block cite %}
    冻结中IP列表
{% endblock %}
{% block content %}
    <table class="layui-table layui-form">
        <thead>
        <tr>
            <th>
                <input type="checkbox" lay-skin="primary" lay-filter="c_all">
                <div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i
                        class="layui-icon layui-icon-ok"></i></div>
            </th>
            <th>IP地址</th>
            <th>IP来路</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {% for data in data_list %}
         <tr>
            <td>
                <input type="checkbox" name="checkbox" lay-skin="primary" value="{{ data.IP }}">
                <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                    <i class="layui-icon layui-icon-ok"></i>
                </div>
            </td>
            <td>{{ data.IP }}</td>
            <td>{{ data.IP|ipAddress }}</td>
            <td class="td-manage">
                <a class="but_sm" title="解除冻结" onclick="other(this,'{{ data.IP }}','解除冻结','DELETE')" href="javascript:;">解除冻结</a>
                <a class="but_sm del_but" title="添加黑名单" onclick="other(this,'{{ data.IP }}','添加黑名单','POST')" href="javascript:;">
                    添加黑名单</a>
            </td>
        </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}
